package com.yike.user.service;

import com.yike.user.entity.ShopGarrisonRecord;
import com.yike.user.param.ShopGarrisonRecordPageParam;
import com.yike.common.base.BaseService;
import com.yike.common.pagination.Paging;

/**
 * 店铺值守记录表 服务类
 *
 * @author Sakura
 * @since 2024-09-06
 */
public interface ShopGarrisonRecordService extends BaseService<ShopGarrisonRecord> {

    /**
     * 保存
     *
     * @param shopGarrisonRecord
     * @return
     * @throws Exception
     */
    boolean saveShopGarrisonRecord(ShopGarrisonRecord shopGarrisonRecord) throws Exception;

    /**
     * 修改
     *
     * @param shopGarrisonRecord
     * @return
     * @throws Exception
     */
    boolean updateShopGarrisonRecord(ShopGarrisonRecord shopGarrisonRecord) throws Exception;

    /**
     * 删除
     *
     * @param id
     * @return
     * @throws Exception
     */
    boolean deleteShopGarrisonRecord(Long id) throws Exception;


    /**
     * 获取分页对象
     *
     * @param shopGarrisonRecordPageParam
     * @return
     * @throws Exception
     */
    Paging<ShopGarrisonRecord> getShopGarrisonRecordPageList(ShopGarrisonRecordPageParam shopGarrisonRecordPageParam) throws Exception;

}
